package com.sgu6.sgu6_machine.dto;

import com.sgu6.redis.dto.GoodsSimpleDto;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class MachineGoodsDto implements Serializable {

    public String varietyName;
    private String barnId;
    private String id;
    private String name;
    private String title;
    private String categoryId;
    private String shortContent;
    private String content;
    private float price;
    private int sort;
    private boolean enable;
    private String photo;
    public String getPhoto() {
        return this.photo;
    }
    public void setPhoto(String photo) {
        this.photo = photo;
    }
    public boolean getEnable() {
        return this.enable;
    }
    public void setEnable(boolean enable) {
        this.enable = enable;
    }
    public int getSort() {
        return this.sort;
    }
    public void setSort(int sort) {
        this.sort = sort;
    }
    public float getPrice() {
        return this.price;
    }
    public void setPrice(float price) {
        this.price = price;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getShortContent() {
        return this.shortContent;
    }
    public void setShortContent(String shortContent) {
        this.shortContent = shortContent;
    }
    public String getCategoryId() {
        return this.categoryId;
    }
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getBarnId() {
        return this.barnId;
    }
    public void setBarnId(String barnId) {
        this.barnId = barnId;
    }
    public String getVarietyName() {
        return this.varietyName;
    }
    public void setVarietyName(String varietyName) {
        this.varietyName = varietyName;
    }
    @Generated(hash = 1305379274)
    public MachineGoodsDto(String varietyName, String barnId, String id,
                           String name, String title, String categoryId, String shortContent,
                           String content, float price, int sort, boolean enable, String photo) {
        this.varietyName = varietyName;
        this.barnId = barnId;
        this.id = id;
        this.name = name;
        this.title = title;
        this.categoryId = categoryId;
        this.shortContent = shortContent;
        this.content = content;
        this.price = price;
        this.sort = sort;
        this.enable = enable;
        this.photo = photo;
    }
    @Generated(hash = 851801654)
    public MachineGoodsDto() {
    }

}
